import http from '@/utils/httpUtils'

/**
 * @流程搜索
 */
export function auditProcessListQueryApi(query){
    return http(`/common/auditProcess/processList`,'get',query)
}

/**
 * @根据流程实例ID获取BPMN文件
 */
export function getBpmnFile(processInstanceId){
    return http(`/common/auditProcess/downLoadBpmn/${processInstanceId}`,'get');
}

/**
 * @根据流程实例ID删除部署的流程
 */
export function deleteBpmnDeployment(deploymentId){
    return http(`/common/auditProcess/delete/${deploymentId}`,'delete');
}

/**
 * @查询企业注册列表
 */
export function getRegisterList(query){
    return http('/system/register/waitAuditCompanyList','get',query);
}